home *** CD-ROM | disk | FTP | other *** search
/ PC Zone 96 / PC Zone #096.7z / Dppcz1200.mdf / Demos / Gunlok / data1.cab / Program_Executable_Files / scripts / massacrete.gsh < prev    next >
Text File  |  2000-09-09  |  2KB  |  64 lines

  1. // defines MASSACRETE
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef INCLUDED_MASSACRETE_GSH
  8. #define INCLUDED_MASSACRETE_GSH
  9.  
  10. ////////////////////////////////////////////////////////////////////////////////////
  11.  
  12. #include "defaults.gsh"
  13. #include "lasers.gsh"
  14.  
  15. hierarchy Hcy_massacrete
  16. {
  17.     file "units\LOWmassacrete.RIF"
  18.     name "LOWmassacrete"
  19.     hotspot "dumflash"
  20. }
  21.  
  22. //hierarchy Hcy_massacrete_Shadow
  23. //{
  24. //    file "units\massacrete_shadow.RIF"
  25. //    name "massacrete_shadow"
  26. //}
  27.  
  28. character Chr_massacrete : Chr_DefaultBaddie
  29. {
  30.     turning speed   0.8    // this is in revolutions per second
  31.     walking speed   1.0    // this is in animation cycles per second
  32.     weapon            enemy laser medium
  33.     strength        60    // initial strength points
  34.     aim             2    // how many degrees off target he can be at most
  35.     sight angle    30    // in degrees
  36.     sight range     20    // in metres
  37.     hearing range    17    // in metres
  38.     aggression    0.5    // from 0 to 1
  39.     gun yaw angle    0    // in degrees
  40. //    description        massacrete description
  41. //    shadow hierarchy    Hcy_massacrete_Shadow
  42. }
  43.  
  44. role Rol_massacrete : Rol_DefaultRobot
  45. {
  46.     shape                Hcy_massacrete
  47.  
  48.     character            Chr_massacrete
  49.  
  50.     identifier            "massacrete"
  51.  
  52.     recon name            massacrete recon
  53.  
  54.     destructibility            Des_Explode
  55.  
  56.     armour    7
  57.  
  58.     ai                    bot
  59. }
  60.  
  61. ////////////////////////////////////////////////////////////////////////////////////
  62.  
  63. // end wrapper - for preventing multiple or recursive inclusions
  64. #endif // !INCLUDED_MASSACRETE_GSH